package com.suarte.core.dao;

import com.suarte.core.Company;
import com.suarte.core.Contact;
import org.appfuse.dao.GenericDao;

import java.util.List;

/**
 * @date   Dec 20, 2010
 * @author Ggutierrez
 */
public interface ContactDao extends GenericDao<Contact, Long>  {

    public List<Contact> findByNames(String firstName, String lastName);
    public List<Contact> findByCompany(Company company);
    public List<Contact> findContacts();
}
